
@import "~@/style/base.less";

.wrapper {
  position: relative;
  height: 100%;
  overflow: hidden;
  touch-action: pan-y;
  .hasHeader {
    flex: 0 0 auto;
    height: @header_height;
    & ~ .pull_down {
      top: 0;
    }
  }
  &.hasFooter {
    flex: 0 0 auto;
    height: calc(100% - @footer_height);
  }
}

.pull_down {
  position: absolute;
  z-index: 2;
  top: -80px;
  left: 0;
  right: 0;
  height: 80px;
  line-height: 80px;
  text-align: center;
  color: #999;
  font-size: 24px;
  text-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  > div {
    margin: 0 16px 0 0;
  }
}

.pull_Up {
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #999999;
  .tips {
    padding-left: 16px;
  }
}

.content {
  min-height: 100.1%;
  display: flex;
  flex-flow: column;
}
.main {
  flex: 1 1;
  width: 100%;
  display: flex;
  flex-flow: column;
  overflow: hidden;
}
